package leetcode2;

import java.util.Arrays;

public class DicesProbability {
    public double[] dicesProbability(int n) {
        int len = (n * 6) - n + 1;
        double[] chance = new double[n * 6];
        for (int i = 1; i <= 6; i++) {
            chance[i] = 1.66667;
        }
        double[] ans = new double[len];
        for (int i = 0; i < len; i++) {
            ans[i] = (n + i - 1) * 0.16667 * 0.16667;
        }
        return ans;
    }


    public static void main(String[] args) {
        DicesProbability dicesProbability = new DicesProbability();
        System.out.println(Arrays.toString(dicesProbability.dicesProbability(2)));
    }
}
